const tokenKey = 'GEEK_TOKEN'

// 设置token
export const setToekn = (val) => localStorage.setItem(tokenKey, val)

// 读取token
export const getToekn = () => localStorage.getItem(tokenKey)

// 删除token
export const removeToekn = () => localStorage.removeItem(tokenKey)

// 判断有没有token
export const hasToekn = () => !!localStorage.getItem(tokenKey)
